package com.hzw.dao;

import com.hzw.entity.OrderCommodity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface OrderCommodityDao {

    void insert(OrderCommodity orderCommodity);

    void delByOrderId(OrderCommodity orderCommodity);

    void updateByOrderId (OrderCommodity orderCommodity);

    List<OrderCommodity> select (OrderCommodity orderCommodity);

}
